package com.celeritymq.dispatcher;

import java.net.SocketAddress;
import java.util.Set;
import java.util.logging.Logger;

import javax.jms.Destination;
import javax.jms.JMSException;

import com.celeritymq.destination.DestinationContainer;
import com.celeritymq.logging.LoggerFactory;
import com.celeritymq.message.CelerityMessage;

public class RequestDispatcher implements Dispatcher {
	protected Logger log = LoggerFactory.getLogger(getClass());

	@Override
	public void dispatch(CelerityMessage msg) throws JMSException {
		CelerityMessage request = (CelerityMessage) msg;
		Destination destination=request.getJMSDestination();
//		Set<SocketAddress> address=DestinationContainer.getAddressByDestination(destination);
		
	}

}
